package com.chenxiao.strategy;

/**
 * @Author: CX
 * @Date: Created in  2024/04/03 10:55
 * @version: v1.0
 * @Description: TODO
 **/
public class Context {
    private Strategy strategy;
    Context(Strategy strategy){
        this.strategy = strategy;
    }
    public void execute(){
        strategy.execute();
    }
}
